package com.cloudwise.config;

import cn.hutool.core.util.RandomUtil;
import com.cloudwise.entity.Dept;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ：Teacher陈
 * @date ：Created in 2020/12/23 14:46
 * @description：测试
 * @modified By：
 * @version:
 */
public class MyConfig {


    public static void main(String[] args) {
        //获取1到30的随机数
        int i = RandomUtil.randomInt(1, 30);
        System.out.println("中奖数字："+i);
      /*  int i1 = RandomUtil.randomInt(6);
        System.out.println(i1);*/
    }
}
